$OpenBSD: patch-hiredis_CMakeLists_txt,v 1.1.1.1 2016/12/02 14:57:41 sthen Exp $
--- hiredis/CMakeLists.txt.orig	Mon Sep 12 13:03:58 2016
+++ hiredis/CMakeLists.txt	Mon Sep 19 19:58:37 2016
@@ -6,9 +6,6 @@ SET(HIREDISSRC	async.c
 				sds.c)
 
 SET(HIREDIS_CFLAGS "")
-IF("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
-	SET(HIREDIS_CFLAGS "${HIREDIS_CFLAGS} -O3")
-ENDIF()
 
 ADD_LIBRARY(rmilter-hiredis STATIC ${HIREDISSRC})
 
